﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;

namespace Abhimanu.Mobile.Models
{
    public class ActivityModel
    {
        [Required]
        [DataType(DataType.MultilineText)]
        [Display(Name = "Say what's on your mind")]
        public string SaySomething { get; set; }

        public List<ActivityItem> Activities { get; set; }
    }

    public class ActivityItem
    {
        public long ActivityID { get; set; }

        public string ActText { get; set; }

        public string PostBy { get; set; }

        public string PostTime { get; set; }

        public int LikeCount { get; set; }

        public int CommentCount { get; set; }

        [Required]
        [DataType(DataType.MultilineText)]
        [Display(Name = "Comments...")]
        public string CommentText { get; set; }
        public List<ActivityCommentModel> Comments { get; set; }
    }

    public class ActivityCommentModel
    {
        public long CommentID { get; set; }

        public string CommentText { get; set; }

        public string CommentedBy { get; set; }

        public string TimeAgo { get; set; }
    }
}